<div class="fly-footer">
  <p><a href="/"><?=$sys['right']?></a></p>
<p>
  <?php
  $_nav2 = $this->db->cache('select * from nav where cat_id =?',[2]);
  foreach($_nav2 as $v):?>
  <a href="<?=$v['url']?>" <?php if($v['link_type']):?>target="_blank"<?php endif;?>><?=$v['title']?></a>
  <?php endforeach;?>
</p>
</div>

<script type="text/javascript" src="/static/vendor/function.js?v=<?=env('version')?>"></script>
<script>
layui.cache.page = '';
layui.cache.user = {
  username: '游客'
  ,uid: -1
  ,avatar: '/static/bbs/res/images/avatar/00.jpg'
  ,experience: 83
  ,sex: '男'
};
layui.config({
  version: "3.0.0"
  ,base: '/static/bbs/mods/'
}).extend({
  fly: 'index'
}).use('fly');
</script>
